package ooday01;

public class StudentTest {
    public static void main(String[] args) {
        Student s1= new Student();
        s1.name= "张三";
        s1.age= 18;
        s1.className="高三6班";
        s1.sId="201401";
        s1.sayHi();
        s1.study();
        s1.play("李四");

        Student s2=new Student();
        s2.study();
        s2.sayHi();
        s2.play("李四");

        Student s3 = new Student("美美",18,"1205","三班");
        Student s4 = new Student("红红",22,"1205","三班");
        Student s5 = new Student("三少",100,"1021","傲来国");
        s3.sayHi();
        s4.sayHi();
        s5.sayHi();
    }
}
